package com.foreveross.taskservice.application.task.statsdetail.vo;

import com.foreveross.taskservice.common.model.AbstractChannelModel;

/**
 * 基础的渠道VO
 * 
 * @author Administrator
 * 
 */
public class BaseChannelVO extends BaseVO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4191964447732988515L;
	private Long channelId;
	private String name;

	/**
	 * 包装的渠道模型
	 */
	private AbstractChannelModel channelModel;

	public BaseChannelVO() {
		super();
	}

	public BaseChannelVO(AbstractChannelModel m) {
		super();
		this.channelModel=m;
		this.channelId=m.getId();
		this.name=m.getName();
	}
	
	public Long getChannelId() {
		return channelId;
	}

	public void setChannelId(Long channelId) {
		this.channelId = channelId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public AbstractChannelModel getChannelModel() {
		return channelModel;
	}

	public void setChannelModel(AbstractChannelModel channelModel) {
		this.channelModel = channelModel;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
